import getApiData from "@/services/cpasRequest";
import notify from 'devextreme/ui/notify';

// 获取账套
export async function getAccountInfo(params: {
    dbname: string;
  }) {
    const res = await getApiData("account.accountInfo.getDataList", params);
    if (res.ok) {
      return res.data;
    }
    return {};
  }